package it.apiconsulting.sharem.session;

import it.apiconsulting.sharem.controller.bean.GuestBean;
import it.apiconsulting.sharem.controller.bean.UtenteBean;
import it.apiconsulting.sharem.mediaplayer.Player;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class FactoryBean {

	private static FactoryBean instance = new FactoryBean();
	
	private UtenteBean utente;
	
	private GuestBean guest;
	
	private ProcessBuilder process;
	
	public HashMap<Long, Player> hmPlayer;
	
	public HashMap<Long, List<GuestBean>> hmGuests;

	private FactoryBean() {
		hmPlayer = new HashMap<Long, Player>();
		hmGuests = new HashMap<Long, List<GuestBean>>();
	}

	public static FactoryBean getInstance() {
		return instance;
	}

	public UtenteBean getUtente() {
		return utente;
	}

	public void setUtente(UtenteBean utente) {
		this.utente = utente;
	}

	public GuestBean getGuest() {
		return guest;
	}

	public void setGuest(GuestBean guest) {
		this.guest = guest;
	}

	public ProcessBuilder getProcess() {
		return process;
	}

	public void setProcess(ProcessBuilder process) {
		this.process = process;
	}
}